package main

import (
	"fmt"
	"reflect"
)

func main() {
	a := [3]int{0, 1, 2}
	s := a[1:2]

	fmt.Println(reflect.TypeOf(a))
	fmt.Println(reflect.TypeOf(s))

	fmt.Println(s)
	s[0] = 11
	s = append(s, 12)
	s = append(s, 13)
	s[0] = 21

	fmt.Println(a)
	fmt.Println(s)
}
